package com.dyit.springcloud.hospital.doctor.service;

import com.dyit.springcloud.hospital.domain.entity.Dept;
import com.dyit.springcloud.hospital.domain.entity.Doctor;

import java.util.List;

public interface IDoctorService {
    void add(Doctor doctor);
    void deleteDoctorById(int id);
    void update(Doctor doctor);
    List<Doctor> findAll();
    List<Doctor> findDoctorsByDept(Dept dept);
    Doctor findDoctorByName(String name);
}
